package com.whfc.hdc.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description: 硬件厂家平台
 * @author: xugcheng
 * @version: 1.0
 * @date: 2021-11-30 14:57
 */
@Data
public class AppDevicePlatformDTO implements Serializable {

    /**
     * 硬件类型
     */
    @NotNull
    private Integer deviceType;

    /**
     * 平台编号
     */
    @NotEmpty
    @Length(max = 32)
    private String platform;

    /**
     * 平台名称
     */
    @Length(max = 32)
    private String name;

    /**
     * 厂家信息
     */
    @Length(max = 64)
    private String factory;

    /**
     * 备注
     */
    @Length(max = 200)
    private String remark;
}
